<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>历史记录</title>
	<meta name="decorator" content="default"/>

</head>
<body>
	<ul class="nav nav-tabs">
		<li ><a href="${ctx}/sys/goodsstorestock/">门店商品库存管理列表</a></li>
		<li class="active"><a href="#">历史记录</a></li>
	</ul>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>商品编号</th>
				<th>商品名称</th>
				<th>物料编号</th>
				<th>配件编号</th>
				<th>制造商品牌</th>
				<th>原始库存数</th>
				<th>录入库存数</th>
				<th>库存</th>
				<th>操作时间</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="goods">
			<tr>
				<td>
					${goods.code}
				</td>
				<td>
					<a href="${ctx}/sys/goodsplatformmanger/goodsDetail?goodsCode=${goods.code}&tagUrl=${ctx}/sys/goodsstorestock/form?id=${goods.id}&tagName=历史记录">${goods.cnName}</a>
				</td>
				<td>
					${goods.materielCode}
				</td>
				<td>
					${goods.partsCode}
				</td>
				<td>
					${goods.venderName}
				</td>
				<td>
					${goods.storeGoodsStock}
				</td>
				<td>
					${goods.storeGoodsSellNum}
				</td>
				<td>
					${goods.storeGoodsStock + goods.storeGoodsSellNum}
				</td>
				<td>
					<fmt:formatDate  value="${goods.storeGoodsUpdateDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
	
</body>
</html>